from django import forms

from fragrances.models import Fragrance, Paper, News

class FragranceCreate(forms.ModelForm):
    class Meta:
        model = Fragrance
        #fields: 'id','title','description','picture','price','created','modified',        
        #exclude = ('title','description','picture','price','created','modified',)
        #fields = ('title','description','picture','price','created','modified',)


class FragranceEdit(forms.ModelForm):
    class Meta:
        model = Fragrance
        #fyi fields: 'id','title','description','picture','price','created','modified',        
        #exclude = ('title','description','picture','price','created','modified',)
        #fields = ('title','description','picture','price','created','modified',)


class PaperCreate(forms.ModelForm):
    class Meta:
        model = Paper
        #fields: 'id','title','description','picture','price','type','created','modified',        
        #exclude = ('title','description','picture','price','type','created','modified',)
        #fields = ('title','description','picture','price','type','created','modified',)


class PaperEdit(forms.ModelForm):
    class Meta:
        model = Paper
        #fyi fields: 'id','title','description','picture','price','type','created','modified',        
        #exclude = ('title','description','picture','price','type','created','modified',)
        #fields = ('title','description','picture','price','type','created','modified',)


class NewsCreate(forms.ModelForm):
    class Meta:
        model = News
        #fields: 'id','title','description','picture','price','created','modified',        
        #exclude = ('title','description','picture','price','created','modified',)
        #fields = ('title','description','picture','price','created','modified',)


class NewsEdit(forms.ModelForm):
    class Meta:
        model = News
        #fyi fields: 'id','title','description','picture','price','created','modified',        
        #exclude = ('title','description','picture','price','created','modified',)
        #fields = ('title','description','picture','price','created','modified',)


